package com.redis.controller;

public class MyComparator implements java.util.Comparator<Integer> {
    @Override
    public int compare(Integer o1, Integer o2) {
        if (o1>o2){
            return o1;
        }
        return 0;
    }


}
